#ΪA.com================================================================
server
 {
 listen 80;
 listen 443 ssl http2;
 server_name A.com;
 index index.php index.html index.htm default.php default.htm default.html;
 root /www/wwwroot/A.com;
 #SSL-START SSLãɾ޸һдע͵404
 #error_page 404/404.html;
 ssl_certificate /www/server/panel/vhost/ssl/A.com/fullchain.pem;
 ssl_certificate_key /www/server/panel/vhost/ssl/A.com/privkey.pem;
 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
 ssl_prefer_server_ciphers on;
 ssl_session_cache shared:SSL:10m;
 ssl_session_timeout 10m;
 error_page 497 https://$host$request_uri;
 #SSL-END
 #ERROR-PAGE-START ҳãע͡ɾ޸
 error_page 404 /404.html;
 error_page 502 /502.html;
 #ERROR-PAGE-END
 #PHP-INFO-START PHPãעͻ޸
 include enable-php-56.conf;
 #PHP-INFO-END
 #REWRITE-START URLд,޸ĺ󽫵õα̬ʧЧ
 include /www/server/panel/vhost/rewrite/A.com.conf;
 #REWRITE-END
 #ֹʵļĿ¼
 location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
 {
 return 404;
 }
 #һSSL֤֤Ŀ¼
 location ~ \.well-known{
 allow all;
 }
 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
 {
 expires 30d;
 error_log off; access_log /dev/null;
 }
 location ~ .*\.(js|css)?$
 {
 expires 12h;
 error_log off;
 access_log /dev/null; 
 }
 access_log /www/wwwlogs/A.com.log;
 error_log /www/wwwlogs/A.com.log;
 }
#ΪB.com==================================================================
server
 {
 listen 80;
 listen 443 ssl http2;
 server_name B.com;
 index index.php index.html index.htm default.php default.htm default.html;
 root /www/wwwroot/A.com;
 #SSL-START SSLãɾ޸һдע͵404
 #error_page 404/404.html;
 ssl_certificate /www/server/panel/vhost/ssl/B.com/fullchain.pem;
 ssl_certificate_key /www/server/panel/vhost/ssl/B.com/privkey.pem;
 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
 ssl_prefer_server_ciphers on;
 ssl_session_cache shared:SSL:10m;
 ssl_session_timeout 10m;
 error_page 497 https://$host$request_uri;
 #SSL-END
 #ERROR-PAGE-START ҳãע͡ɾ޸
 error_page 404 /404.html;
 error_page 502 /502.html;
 #ERROR-PAGE-END
 #PHP-INFO-START PHPãעͻ޸
 include enable-php-56.conf;
 #PHP-INFO-END
 #REWRITE-START URLд,޸ĺ󽫵õα̬ʧЧ
 include /www/server/panel/vhost/rewrite/A.com.conf;
 #REWRITE-END
 #ֹʵļĿ¼
 location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
 {
 return 404;
 }
 #һSSL֤֤Ŀ¼
 location ~ \.well-known{
 allow all;
 }
 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
 {
 expires 30d;
 error_log off; access_log /dev/null;
 }
 location ~ .*\.(js|css)?$
 {
 expires 12h;
 error_log off;
 access_log /dev/null; 
 }
 access_log /www/wwwlogs/A.com.log;
 error_log /www/wwwlogs/A.com.log;
 }
#ΪB.net==============================================================================
server
 {
 listen 80;
 listen 443 ssl http2;
 server_name B.net;
 index index.php index.html index.htm default.php default.htm default.html;
 root /www/wwwroot/A.com;
 #SSL-START SSLãɾ޸һдע͵404
 #error_page 404/404.html;
 ssl_certificate /www/server/panel/vhost/ssl/B.net/fullchain.pem;
 ssl_certificate_key /www/server/panel/vhost/ssl/B.net/privkey.pem;
 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
 ssl_prefer_server_ciphers on;
 ssl_session_cache shared:SSL:10m;
 ssl_session_timeout 10m;
 error_page 497 https://$host$request_uri;
 #SSL-END
 #ERROR-PAGE-START ҳãע͡ɾ޸
 error_page 404 /404.html;
 error_page 502 /502.html;
 #ERROR-PAGE-END
 #PHP-INFO-START PHPãעͻ޸
 include enable-php-56.conf;
 #PHP-INFO-END
 #REWRITE-START URLд,޸ĺ󽫵õα̬ʧЧ
 include /www/server/panel/vhost/rewrite/A.com.conf;
 #REWRITE-END
 #ֹʵļĿ¼
 location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
 {
 return 404;
 }
 #һSSL֤֤Ŀ¼
 location ~ \.well-known{
 allow all;
 }
 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
 {
 expires 30d;
 error_log off; access_log /dev/null;
 }
 location ~ .*\.(js|css)?$
 {
 expires 12h;
 error_log off;
 access_log /dev/null; 
 }
 access_log /www/wwwlogs/A.com.log;
 error_log /www/wwwlogs/A.com.log;
 }
